package com.freecloud.bitorrent.convert;

import com.freecloud.bitorrent.demo.bo.RequestMessage;
import com.freecloud.bitorrent.demo.bo.ResponseMessage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: maomao
 * @Date: 2022/7/18 7:04 PM
 */
@Mapper
public interface BitTorrentConvert {

    BitTorrentConvert INSTANCE = Mappers.getMapper(BitTorrentConvert.class);

    ResponseMessage request2Response(RequestMessage request);
}
